package com.woniu03;

import java.util.Scanner;

public class Test02 {
    //兔子循环递归
    public static void main(String[] args) {
        System.out.println(test(9));
    }

    public static int test(int n) {
      if(n==1 || n==2){
          return 1;
      }else{
          return test(n-1)+test(n-2);
      }
    }
}
